﻿using MediatR;
using T.Basic.Domain.T.Basic.Dto;
using T.Basic.Domain.T.Basic.Model;

namespace T.Basic.Read.API.Appliction.Command.LineCommand
{
    /// <summary>
    /// 显示线路信息
    /// </summary>
    public class LineListCommand:IRequest<PageDto<Line>>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 线路名称
        /// </summary>
        public string? LineName { get; set; }
        /// <summary>
        /// 起点
        /// </summary>
        public string? StartingPoint { get; set; }
        /// <summary>
        /// 终点
        /// </summary>
        public string? Ends { get; set; }
        /// <summary>
        /// 是否是外协
        /// </summary>
        public string? OutsourcedUnitsIsno { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? CargoOwnerPhone { get; set; }
        /// <summary>
        /// 货主单位
        /// </summary>
        public string? CargoOwnerUnitName { get; set; }
        /// <summary>
        /// 索引页
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int? PageSize { get; set; }

    }
}
